//通用样式
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.fl {
  float: left;
}
.fr {
  float: right;
}

page {
  background: #f5f5f5;
}
.prew_video {
  padding: 0;
  background: #ffffff;
  margin-bottom: 20rpx;
  video {
    width: 100%;
    height: 460rpx;
  }
  .video-msg {
    padding: 40rpx;
    .title {
      font-size: 36rpx;
      list-style: 50rpx;
      font-weight: bold;
      margin-bottom: 6rpx;
      color: #4a4a4a;
    }
    .msg {
      color: #757575;
      font-size: 24rpx;
    }
  }
}
.video-box {
  padding: 30rpx;
  margin-top: 20rpx;
  font-size: 0;
  background: #ffffff;
  .video-tuijian {
    font-size: 36rpx;
    font-weight: bold;
    margin-bottom: 40rpx;
  }
  .video {
    margin-bottom: 60rpx;
    display: inline-block;
    margin-right: 23rpx;
    text-align: center;
    &:nth-child(2n + 1) {
      margin-right: 0;
    }

    .cover {
      width: 320rpx;
      height: 180rpx;
      border-radius: 16rpx;
      position: relative;
      image {
        width: 100%;
        height: 180rpx;
        border-radius: 16rpx;
      }
      .video-tip {
        position: absolute;
        right: 10rpx;
        bottom: 10rpx;
        height: 32rpx;
        min-width: 104rpx;
        border-radius: 16rpx;
        background: rgba(33, 33, 33, 0.8);
        text {
          color: #ffffff;
          font-size: 20rpx;
          line-height: 32rpx;
        }
        image {
          width: 16rpx;
          height: 16rpx;
          margin-right: 6rpx;
        }
      }
    }
    .video-title {
      text-align: left;
      width: 320rpx;
      height: 80rpx;
      font-size: 28rpx;
      line-height: 40rpx;
      margin-top: 20rpx;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }
    .video-knowledge {
      text-align: left;
      width: 320rpx;
      color: #14cc76;
      font-size: 24rpx;
      line-height: 34rpx;
      height: 34rpx;
      margin-top: 10rpx;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-box-orient: vertical;
    }
  }
}
